Optimal. Leaf size=99 \[ -\frac {5 \tan ^{-1}\left (\frac {3-4 x}{3 \sqrt {3}}\right )}{96 \sqrt {3}}-\frac {\tan ^{-1}\left (\frac {3+4 x}{3 \sqrt {3}}\right )}{32 \sqrt {3}}-\frac {1}{96} \log (3-2 x)-\frac {5}{288} \log (3+2 x)+\frac {5}{576} \log \left (9-6 x+4 x^2\right )+\frac {1}{192} \log \left (9+6 x+4 x^2\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 99, normalized size of antiderivative = 1.00, number of steps
used = 13, number of rules used = 7, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.389, Rules used = {1525, 298, 31,
648, 632, 210, 642} \begin {gather*} -\frac {5 \text {ArcTan}\left (\frac {3-4 x}{3 \sqrt {3}}\right )}{96 \sqrt {3}}-\frac {\text {ArcTan}\left (\frac {4 x+3}{3 \sqrt {3}}\right )}{32 \sqrt {3}}+\frac {5}{576} \log \left (4 x^2-6 x+9\right )+\frac {1}{192} \log \left (4 x^2+6 x+9\right )-\frac {1}{96} \log (3-2 x)-\frac {5}{288} \log (2 x+3) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 31
Rule 210
Rule 298
Rule 632
Rule 642
Rule 648
Rule 1525
Rubi steps
\begin {align*} \int \frac {x \left (27-2 x^3\right )}{729-64 x^6} \, dx &=3 \int \frac {x}{216-64 x^3} \, dx+5 \int \frac {x}{216+64 x^3} \, dx\\ &=\frac {1}{24} \int \frac {1}{6-4 x} \, dx-\frac {1}{24} \int \frac {6-4 x}{36+24 x+16 x^2} \, dx-\frac {5}{72} \int \frac {1}{6+4 x} \, dx+\frac {5}{72} \int \frac {6+4 x}{36-24 x+16 x^2} \, dx\\ &=-\frac {1}{96} \log (3-2 x)-\frac {5}{288} \log (3+2 x)+\frac {1}{192} \int \frac {24+32 x}{36+24 x+16 x^2} \, dx+\frac {5}{576} \int \frac {-24+32 x}{36-24 x+16 x^2} \, dx-\frac {3}{8} \int \frac {1}{36+24 x+16 x^2} \, dx+\frac {5}{8} \int \frac {1}{36-24 x+16 x^2} \, dx\\ &=-\frac {1}{96} \log (3-2 x)-\frac {5}{288} \log (3+2 x)+\frac {5}{576} \log \left (9-6 x+4 x^2\right )+\frac {1}{192} \log \left (9+6 x+4 x^2\right )+\frac {3}{4} \text {Subst}\left (\int \frac {1}{-1728-x^2} \, dx,x,24+32 x\right )-\frac {5}{4} \text {Subst}\left (\int \frac {1}{-1728-x^2} \, dx,x,-24+32 x\right )\\ &=-\frac {5 \tan ^{-1}\left (\frac {3-4 x}{3 \sqrt {3}}\right )}{96 \sqrt {3}}-\frac {\tan ^{-1}\left (\frac {3+4 x}{3 \sqrt {3}}\right )}{32 \sqrt {3}}-\frac {1}{96} \log (3-2 x)-\frac {5}{288} \log (3+2 x)+\frac {5}{576} \log \left (9-6 x+4 x^2\right )+\frac {1}{192} \log \left (9+6 x+4 x^2\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 91, normalized size = 0.92 \begin {gather*} \frac {1}{576} \left (10 \sqrt {3} \tan ^{-1}\left (\frac {-3+4 x}{3 \sqrt {3}}\right )-6 \sqrt {3} \tan ^{-1}\left (\frac {3+4 x}{3 \sqrt {3}}\right )-6 \log (3-2 x)-10 \log (3+2 x)+5 \log \left (9-6 x+4 x^2\right )+3 \log \left (9+6 x+4 x^2\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.39, size = 76, normalized size = 0.77
method | result | size |
default | \(\frac {5 \ln \left (4 x^{2}-6 x +9\right )}{576}+\frac {5 \sqrt {3}\, \arctan \left (\frac {\left (8 x -6\right ) \sqrt {3}}{18}\right )}{288}+\frac {\ln \left (4 x^{2}+6 x +9\right )}{192}-\frac {\sqrt {3}\, \arctan \left (\frac {\left (8 x +6\right ) \sqrt {3}}{18}\right )}{96}-\frac {5 \ln \left (2 x +3\right )}{288}-\frac {\ln \left (-3+2 x \right )}{96}\) | \(76\) |
risch | \(\frac {5 \ln \left (16 x^{2}-24 x +36\right )}{576}+\frac {5 \sqrt {3}\, \arctan \left (\frac {\left (-3+4 x \right ) \sqrt {3}}{9}\right )}{288}-\frac {\ln \left (-3+2 x \right )}{96}+\frac {\ln \left (4 x^{2}+6 x +9\right )}{192}-\frac {\sqrt {3}\, \arctan \left (\frac {2 \left (2 x +\frac {3}{2}\right ) \sqrt {3}}{9}\right )}{96}-\frac {5 \ln \left (2 x +3\right )}{288}\) | \(76\) |
meijerg | \(\frac {x^{5} \left (\ln \left (1-\frac {2 \left (x^{6}\right )^{\frac {1}{6}}}{3}\right )-\ln \left (1+\frac {2 \left (x^{6}\right )^{\frac {1}{6}}}{3}\right )+\frac {\ln \left (1-\frac {2 \left (x^{6}\right )^{\frac {1}{6}}}{3}+\frac {4 \left (x^{6}\right )^{\frac {1}{3}}}{9}\right )}{2}+\sqrt {3}\, \arctan \left (\frac {\sqrt {3}\, \left (x^{6}\right )^{\frac {1}{6}}}{3-\left (x^{6}\right )^{\frac {1}{6}}}\right )-\frac {\ln \left (1+\frac {2 \left (x^{6}\right )^{\frac {1}{6}}}{3}+\frac {4 \left (x^{6}\right )^{\frac {1}{3}}}{9}\right )}{2}+\sqrt {3}\, \arctan \left (\frac {\sqrt {3}\, \left (x^{6}\right )^{\frac {1}{6}}}{3+\left (x^{6}\right )^{\frac {1}{6}}}\right )\right )}{288 \left (x^{6}\right )^{\frac {5}{6}}}-\frac {x^{2} \left (\ln \left (1-\frac {4 \left (x^{6}\right )^{\frac {1}{3}}}{9}\right )-\frac {\ln \left (1+\frac {4 \left (x^{6}\right )^{\frac {1}{3}}}{9}+\frac {16 \left (x^{6}\right )^{\frac {2}{3}}}{81}\right )}{2}-\sqrt {3}\, \arctan \left (\frac {2 \sqrt {3}\, \left (x^{6}\right )^{\frac {1}{3}}}{9 \left (1+\frac {2 \left (x^{6}\right )^{\frac {1}{3}}}{9}\right )}\right )\right )}{72 \left (x^{6}\right )^{\frac {1}{3}}}\) | \(192\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.51, size = 75, normalized size = 0.76 \begin {gather*} -\frac {1}{96} \, \sqrt {3} \arctan \left (\frac {1}{9} \, \sqrt {3} {\left (4 \, x + 3\right )}\right ) + \frac {5}{288} \, \sqrt {3} \arctan \left (\frac {1}{9} \, \sqrt {3} {\left (4 \, x - 3\right )}\right ) + \frac {1}{192} \, \log \left (4 \, x^{2} + 6 \, x + 9\right ) + \frac {5}{576} \, \log \left (4 \, x^{2} - 6 \, x + 9\right ) - \frac {5}{288} \, \log \left (2 \, x + 3\right ) - \frac {1}{96} \, \log \left (2 \, x - 3\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 75, normalized size = 0.76 \begin {gather*} -\frac {1}{96} \, \sqrt {3} \arctan \left (\frac {1}{9} \, \sqrt {3} {\left (4 \, x + 3\right )}\right ) + \frac {5}{288} \, \sqrt {3} \arctan \left (\frac {1}{9} \, \sqrt {3} {\left (4 \, x - 3\right )}\right ) + \frac {1}{192} \, \log \left (4 \, x^{2} + 6 \, x + 9\right ) + \frac {5}{576} \, \log \left (4 \, x^{2} - 6 \, x + 9\right ) - \frac {5}{288} \, \log \left (2 \, x + 3\right ) - \frac {1}{96} \, \log \left (2 \, x - 3\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.19, size = 102, normalized size = 1.03 \begin {gather*} - \frac {\log {\left (x - \frac {3}{2} \right )}}{96} - \frac {5 \log {\left (x + \frac {3}{2} \right )}}{288} + \frac {5 \log {\left (x^{2} - \frac {3 x}{2} + \frac {9}{4} \right )}}{576} + \frac {\log {\left (x^{2} + \frac {3 x}{2} + \frac {9}{4} \right )}}{192} + \frac {5 \sqrt {3} \operatorname {atan}{\left (\frac {4 \sqrt {3} x}{9} - \frac {\sqrt {3}}{3} \right )}}{288} - \frac {\sqrt {3} \operatorname {atan}{\left (\frac {4 \sqrt {3} x}{9} + \frac {\sqrt {3}}{3} \right )}}{96} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.88, size = 69, normalized size = 0.70 \begin {gather*} -\frac {1}{96} \, \sqrt {3} \arctan \left (\frac {1}{9} \, \sqrt {3} {\left (4 \, x + 3\right )}\right ) + \frac {5}{288} \, \sqrt {3} \arctan \left (\frac {1}{9} \, \sqrt {3} {\left (4 \, x - 3\right )}\right ) + \frac {1}{192} \, \log \left (x^{2} + \frac {3}{2} \, x + \frac {9}{4}\right ) + \frac {5}{576} \, \log \left (x^{2} - \frac {3}{2} \, x + \frac {9}{4}\right ) - \frac {5}{288} \, \log \left ({\left | x + \frac {3}{2} \right |}\right ) - \frac {1}{96} \, \log \left ({\left | x - \frac {3}{2} \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 5.10, size = 91, normalized size = 0.92 \begin {gather*} -\frac {\ln \left (x-\frac {3}{2}\right )}{96}-\frac {5\,\ln \left (x+\frac {3}{2}\right )}{288}+\ln \left (x+\frac {3}{4}-\frac {\sqrt {3}\,3{}\mathrm {i}}{4}\right )\,\left (\frac {1}{192}+\frac {\sqrt {3}\,1{}\mathrm {i}}{192}\right )-\ln \left (x+\frac {3}{4}+\frac {\sqrt {3}\,3{}\mathrm {i}}{4}\right )\,\left (-\frac {1}{192}+\frac {\sqrt {3}\,1{}\mathrm {i}}{192}\right )-\ln \left (x-\frac {3}{4}-\frac {\sqrt {3}\,3{}\mathrm {i}}{4}\right )\,\left (-\frac {5}{576}+\frac {\sqrt {3}\,5{}\mathrm {i}}{576}\right )+\ln \left (x-\frac {3}{4}+\frac {\sqrt {3}\,3{}\mathrm {i}}{4}\right )\,\left (\frac {5}{576}+\frac {\sqrt {3}\,5{}\mathrm {i}}{576}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________